list_num = [1,2,3,4,5,6,7,8]

for num in  list_num:
    print(f'{num}的立方是{num**3}')


"""
range() 函数
range([start,]stop[,step]) 
"""
for num in range(1,101):
    print(f'{num}的立方是{num ** 3}')